	<script type="text/javascript">
		function rollingFooterNotice(layerObj, curIdx, lastIdx) {
			layerObj.hide();
			if (curIdx < lastIdx) {
				curIdx++;
			} else {
				curIdx = 0;
			}
			layerObj.eq(curIdx).show();

			setTimeout(function() {
				rollingFooterNotice(layerObj, curIdx, lastIdx);
			},2000);
		}

		$(document).ready(function() {
			var noticeList = $(".fnotice dl dd");
			noticeList.hide().eq(0).show();
			
			var noticeCurIdx  = 0;
			var noticeLastIdx = noticeList.length-1;
			$("#btnPrevNotice").click(function() {
				noticeList.hide();
				if (noticeCurIdx > 0) {
					noticeCurIdx--;
				} else {
					noticeCurIdx = noticeLastIdx;
				}
				noticeList.eq(noticeCurIdx).show();
			});

			$("#btnNextNotice").click(function() {
				noticeList.hide();
				if (noticeCurIdx < noticeLastIdx) {
					noticeCurIdx++;
				} else {
					noticeCurIdx = 0;
				}
				noticeList.eq(noticeCurIdx).show();
			});
			
			rollingFooterNotice(noticeList, noticeCurIdx, noticeLastIdx);
		});

	</script>
	<div id="footer">
		<!--공지사항 / 서비스약관및 기타등등-->
		<div class="fp_box">
			<!--공지사항-->
			<div class="fnotice">
				<dl>
					<dt><img src="/images/main/tit_notice1.gif" alt="공지사항"></dt>
<?	foreach ($footer_notice_list as $item) : ?>
					<dd><a href="/bbs/<?=$item['category']?>/read?idx=<?=$item['idx']?>"><em>[<?=$item['cate_name']?>]</em> <?=mb_substr($item['subject'],0,18-mb_strlen($item['cate_name'],'utf-8'),'utf-8')?></a></dd>
<?	endforeach ?>
				</dl>
				<p><a href="javascript:;" id="btnPrevNotice"><img src="/images/main/btn_pre.gif" alt="이전"></a> <a href="javascript:;" id="btnNextNotice"><img src="/images/main/btn_next.gif" alt="다음"></a></p>
			</div>
			<!--//공지사항-->
			<!--이용약관및 기타등등-->
			<div class="policy">
				<ul>
                	<li><a href="/cs/introduce">운세의 신 소개</a></li>
                    <li>/</li>
					<li><a href="/cs/policy/service">서비스 이용약관</a></li>
                    <li>/</li>
                    <li><a href="/cs/policy/privacy">개인정보취급방침</a></li>
					<li>/</li>
					<li><a href="http://www.tionnet.com" target="_blank">회사소개</a></li>
					<li>/</li>
					<li><a href="/cs/notice">고객센터</a></li>
				</ul>
			</div>
			<!--//이용약관및 기타등등-->
		</div>
		<!--//공지사항 / 서비스약관및 기타등등-->
		
		<address>상호 : 티온네트워크(주) / 대표이사 : 방성훈 /  주소 : 서울시 중구 중림동 441번지 한국경제빌딩 9층 / 대표전화 : 02-3219-8253 / <br />
		E-mail : help@unsin.co.kr  / 사업자등록번호 : 117-81-65426 / 통신판매업신고번호 : 제2010-서울중구-1383호 / <br />
        부가통신사업신고번호 : 제021490호<br />
		Copyright (c) T-ON Network corp. All rights reserved. 
		</address>
        <p class="sc_bn"><a href="http://sports.chosun.com/index.htm" target="_blank"><img src="/images/main/sc_bn.gif" alt="스포츠조선" /></a></p>
	</div>
